Integrand size = 30, antiderivative size = 87 \[ \int \frac {a+b \log (c (e+f x))}{(d e+d f x) (h+i x)} \, dx=-\frac {(a+b \log (c (e+f x))) \log \left (1+\frac {f h-e i}{i (e+f x)}\right )}{d (f h-e i)}+\frac {b \operatorname {PolyLog}\left (2,-\frac {f h-e i}{i (e+f x)}\right )}{d (f h-e i)} \]
[Out]
Time = 0.13 (sec) , antiderivative size = 87, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {2458, 12, 2379, 2438} \[ \int \frac {a+b \log (c (e+f x))}{(d e+d f x) (h+i x)} \, dx=\frac {b \operatorname {PolyLog}\left (2,-\frac {f h-e i}{i (e+f x)}\right )}{d (f h-e i)}-\frac {\log \left (\frac {f h-e i}{i (e+f x)}+1\right ) (a+b \log (c (e+f x)))}{d (f h-e i)} \]
[In]
[Out]
Rule 12
Rule 2379
Rule 2438
Rule 2458
Rubi steps \begin{align*} \text {integral}& = \frac {\text {Subst}\left (\int \frac {a+b \log (c x)}{d x \left (\frac {f h-e i}{f}+\frac {i x}{f}\right )} \, dx,x,e+f x\right )}{f} \\ & = \frac {\text {Subst}\left (\int \frac {a+b \log (c x)}{x \left (\frac {f h-e i}{f}+\frac {i x}{f}\right )} \, dx,x,e+f x\right )}{d f} \\ & = -\frac {(a+b \log (c (e+f x))) \log \left (1+\frac {f h-e i}{i (e+f x)}\right )}{d (f h-e i)}+\frac {b \text {Subst}\left (\int \frac {\log \left (1+\frac {f h-e i}{i x}\right )}{x} \, dx,x,e+f x\right )}{d (f h-e i)} \\ & = -\frac {(a+b \log (c (e+f x))) \log \left (1+\frac {f h-e i}{i (e+f x)}\right )}{d (f h-e i)}+\frac {b \text {Li}_2\left (-\frac {f h-e i}{i (e+f x)}\right )}{d (f h-e i)} \\ \end{align*}
Time = 0.05 (sec) , antiderivative size = 91, normalized size of antiderivative = 1.05 \[ \int \frac {a+b \log (c (e+f x))}{(d e+d f x) (h+i x)} \, dx=\frac {(a+b \log (c (e+f x))) \left (a+b \log (c (e+f x))-2 b \log \left (\frac {f (h+i x)}{f h-e i}\right )\right )-2 b^2 \operatorname {PolyLog}\left (2,\frac {i (e+f x)}{-f h+e i}\right )}{2 b d (f h-e i)} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(176\) vs. \(2(86)=172\).
Time = 0.97 (sec) , antiderivative size = 177, normalized size of antiderivative = 2.03
method | result | size |
parts | \(\frac {a \left (\frac {\ln \left (i x +h \right )}{e i -f h}-\frac {\ln \left (f x +e \right )}{e i -f h}\right )}{d}-\frac {b \ln \left (c f x +c e \right )^{2}}{2 d \left (e i -f h \right )}+\frac {b \operatorname {dilog}\left (\frac {-c e i +h c f +i \left (c f x +c e \right )}{-c e i +h c f}\right )}{d \left (e i -f h \right )}+\frac {b \ln \left (c f x +c e \right ) \ln \left (\frac {-c e i +h c f +i \left (c f x +c e \right )}{-c e i +h c f}\right )}{d \left (e i -f h \right )}\) | \(177\) |
risch | \(\frac {a \ln \left (i x +h \right )}{d \left (e i -f h \right )}-\frac {a \ln \left (f x +e \right )}{d \left (e i -f h \right )}-\frac {b \ln \left (c f x +c e \right )^{2}}{2 d \left (e i -f h \right )}+\frac {b \operatorname {dilog}\left (\frac {-c e i +h c f +i \left (c f x +c e \right )}{-c e i +h c f}\right )}{d \left (e i -f h \right )}+\frac {b \ln \left (c f x +c e \right ) \ln \left (\frac {-c e i +h c f +i \left (c f x +c e \right )}{-c e i +h c f}\right )}{d \left (e i -f h \right )}\) | \(179\) |
derivativedivides | \(\frac {-\frac {c f a \ln \left (c f x +c e \right )}{d \left (e i -f h \right )}+\frac {c f a \ln \left (c e i -h c f -i \left (c f x +c e \right )\right )}{d \left (e i -f h \right )}-\frac {c^{2} f b \left (\frac {\ln \left (c f x +c e \right )^{2}}{2 c \left (e i -f h \right )}-\frac {i \left (\frac {\operatorname {dilog}\left (\frac {-c e i +h c f +i \left (c f x +c e \right )}{-c e i +h c f}\right )}{i}+\frac {\ln \left (c f x +c e \right ) \ln \left (\frac {-c e i +h c f +i \left (c f x +c e \right )}{-c e i +h c f}\right )}{i}\right )}{c \left (e i -f h \right )}\right )}{d}}{c f}\) | \(214\) |
default | \(\frac {-\frac {c f a \ln \left (c f x +c e \right )}{d \left (e i -f h \right )}+\frac {c f a \ln \left (c e i -h c f -i \left (c f x +c e \right )\right )}{d \left (e i -f h \right )}-\frac {c^{2} f b \left (\frac {\ln \left (c f x +c e \right )^{2}}{2 c \left (e i -f h \right )}-\frac {i \left (\frac {\operatorname {dilog}\left (\frac {-c e i +h c f +i \left (c f x +c e \right )}{-c e i +h c f}\right )}{i}+\frac {\ln \left (c f x +c e \right ) \ln \left (\frac {-c e i +h c f +i \left (c f x +c e \right )}{-c e i +h c f}\right )}{i}\right )}{c \left (e i -f h \right )}\right )}{d}}{c f}\) | \(214\) |
[In]
[Out]
\[ \int \frac {a+b \log (c (e+f x))}{(d e+d f x) (h+i x)} \, dx=\int { \frac {b \log \left ({\left (f x + e\right )} c\right ) + a}{{\left (d f x + d e\right )} {\left (i x + h\right )}} \,d x } \]
[In]
[Out]
\[ \int \frac {a+b \log (c (e+f x))}{(d e+d f x) (h+i x)} \, dx=\frac {\int \frac {a}{e h + e i x + f h x + f i x^{2}}\, dx + \int \frac {b \log {\left (c e + c f x \right )}}{e h + e i x + f h x + f i x^{2}}\, dx}{d} \]
[In]
[Out]
\[ \int \frac {a+b \log (c (e+f x))}{(d e+d f x) (h+i x)} \, dx=\int { \frac {b \log \left ({\left (f x + e\right )} c\right ) + a}{{\left (d f x + d e\right )} {\left (i x + h\right )}} \,d x } \]
[In]
[Out]
\[ \int \frac {a+b \log (c (e+f x))}{(d e+d f x) (h+i x)} \, dx=\int { \frac {b \log \left ({\left (f x + e\right )} c\right ) + a}{{\left (d f x + d e\right )} {\left (i x + h\right )}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {a+b \log (c (e+f x))}{(d e+d f x) (h+i x)} \, dx=\int \frac {a+b\,\ln \left (c\,\left (e+f\,x\right )\right )}{\left (h+i\,x\right )\,\left (d\,e+d\,f\,x\right )} \,d x \]
[In]
[Out]